export const NewsInfo = ({ news, s }) => {
  return (
    <div className={s.shares__news}>
      <img src={news.urlToImage} className={s.shares__news__img} />
      <div className={s.shares__news__date}>{news.publishedAt}</div>
      <div className={s.shares__news__author}>{news.author}</div>
      <div className={s.shares__news__title}>{news.title}</div>
      <div className={s.shares__news__desc}>{news.description}</div>
      <a href={news.url} className={s.shares__news__link} target="blank">
        Подробнее
      </a>
    </div>
  );
};
